import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入年龄和身高：（年龄是整数，身高是小数，中间用逗号分割）");
        String s = sc.next();
        String [] arr = s.split(",");

        int i = Integer.parseInt(arr[0]);
        double i1 = Double.parseDouble(arr[1]);
        System.out.println("转成整数的年龄是："+i);
        System.out.println("转成小数的身高是："+i1);

    }


}
